<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/common/common.jsp"%>
<%@ include file="/WEB-INF/common/taglib.jsp"%>
<!DOCTYPE html>
<html lang="en">
<script type="text/javascript">
$(function(){
	$('.form_datetime').datetimepicker({
		language:'zh-CN',
		format: "yyyy-mm-dd hh:ii:ss",
		weekStart: 1,
        autoclose: true,
        todayBtn: true,
		todayHighlight: 1,
		startView: 'month',
		forceParse: true,
        showMeridian: 1
	});
});
</script>
<body>
	<div class="container" style="width:98%;padding:8px;">
		<div class="row">
			<div class="panel panel-default">
				<div class="panel-heading">新增</div>
					<div class="panel-body">
						<form class="form-horizontal" role="form" id="dailogForm" action="<%=path%>/system/sysLog/doMerge.do" method="POST">
								<input type="hidden" value="${sysLog.id}" name="id" />
							<div class="form-group">
						    	<label for="type" class="col-sm-2 control-label" style="text-align:left;">日志类型</label>
						    	<div class="col-sm-8">
								      <input type="text" value="${sysLog.type}" name="type" id="type" class="form-control" disabled="disabled"/>
						    	</div>
							</div>
							<div class="form-group">
						    	<label for="title" class="col-sm-2 control-label" style="text-align:left;">日志标题</label>
						    	<div class="col-sm-8">
								      <input type="text" value="${sysLog.title}" name="title" id="title" class="form-control" disabled="disabled"/>
						    	</div>
							</div>
							<div class="form-group">
						    	<label for="remoteAddr" class="col-sm-2 control-label" style="text-align:left;">操作IP地址</label>
						    	<div class="col-sm-8">
								      <input type="text" value="${sysLog.remoteAddr}" name="remoteAddr" id="remoteAddr" class="form-control" disabled="disabled"/>
						    	</div>
							</div>
							<div class="form-group">
						    	<label for="userAgent" class="col-sm-2 control-label" style="text-align:left;">用户代理</label>
						    	<div class="col-sm-8">
								      <input type="text" value="${sysLog.userAgent}" name="userAgent" id="userAgent" class="form-control" disabled="disabled"/>
						    	</div>
							</div>
							<div class="form-group">
						    	<label for="requestUri" class="col-sm-2 control-label" style="text-align:left;">请求URI</label>
						    	<div class="col-sm-8">
								      <input type="text" value="${sysLog.requestUri}" name="requestUri" id="requestUri" class="form-control" disabled="disabled"/>
						    	</div>
							</div>
							<div class="form-group">
						    	<label for="method" class="col-sm-2 control-label" style="text-align:left;">操作方式</label>
						    	<div class="col-sm-8">
								      <input type="text" value="${sysLog.method}" name="method" id="method" class="form-control" disabled="disabled"/>
						    	</div>
							</div>
							<div class="form-group">
						    	<label for="params" class="col-sm-2 control-label" style="text-align:left;">操作提交的数据</label>
						    	<div class="col-sm-8">
								      <input type="text" value="${sysLog.params}" name="params" id="params" class="form-control" disabled="disabled"/>
						    	</div>
							</div>
							<div class="form-group">
						    	<label for="exception" class="col-sm-2 control-label" style="text-align:left;">异常信息</label>
						    	<div class="col-sm-8">
								      <input type="text" value="${sysLog.exception}" name="exception" id="exception" class="form-control" disabled="disabled"/>
						    	</div>
							</div>
							<div class="form-group">
						    	<label for="createUser" class="col-sm-2 control-label" style="text-align:left;">创建者</label>
						    	<div class="col-sm-8">
								      <input type="text" value="${sysLog.createUser}" name="createUser" id="createUser" class="form-control" disabled="disabled"/>
						    	</div>
							</div>
							<div class="form-group">
							    <label for="createDate" class="col-sm-2 control-label" style="text-align:left;">创建时间</label>
							    <div class="col-sm-8">
							      <input id="createDate"   name="createDate"  size="16" type="text" value="<fmt:formatDate value="${sysLog.createDate}" type="date"  pattern="yyyy-MM-dd HH:mm:ss"/>"  class="form-control form_datetime" disabled="disabled">
							    </div>
							</div>
							<div class="form-group">
								<div class="col-sm-offset-5 col-sm-10">
									<a type="button" class="btn btn-sm btn-default" id="formReturn" href="<%=path%>/system/sysLog/queryPageList.do">返回</a>
								</div>
 							</div>
						</form>
				</div>
			</div>
		</div>
	</div>
</body>
</html>